
 
 F u n c t i o n :   t o T e x t N o d e ( s t r i n g ) 
 
 
 
 S h o r t h a n d :   t o T e x t ( s t r i n g ) 
 
 
 
 D e s c r i p t i o n :   C o n v e r t s   a   s t r i n g   i n t o   a   D O M   t e x t   n o d e . 
 
 
 
 R e t u r n s :   D O M   T e x t   N o d e . 
 
 
 
 E x a m p l e : 
 
 
 
 v a r   t e x t N o d e   =   $ A . t o T e x t N o d e ( " S h e ' s   a   s a d   t o m a t o . " ) ; 
 
 